﻿using System.ComponentModel.DataAnnotations;

namespace GameView.Models
{
    public partial class MenuEntity
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        [StringLength(64)]
        public string Name { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 路由地址
        /// </summary>
        [StringLength(256)]
        public string RoutePath { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        [StringLength(256)]
        public string Image { get; set; }

        /// <summary>
        /// 权限标识
        /// </summary>
        [StringLength(512)]
        public string Permission { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        public int Id { get; set; }
    }
}